
package com.itcncp.ipaybox.server.tran;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSON;
import com.itcncp.ipaybox.trans.dubbo.service.DubboServiceAdapter;

/**
 * app调用box-server交易
 * 
 * @author LiuPeng
 * @date 2017年12月21日
 * 
 */
@Component
public class App1001 implements DubboServiceAdapter {

	private Log logger = LogFactory.getLog(getClass());

	@Override
	public String getTrancode() {
		return "app_1001";
	}

	@Override
	public Map<String, Object> exchange(Map<String, Object> reqRecord) {
		logger.info("request json ：" + JSON.toJSONString(reqRecord));
		Map<String, Object> res = new HashMap<>();
		return res;
	}

}
